package com.lgx.mall.business.dao;

import java.util.List;

import com.lgx.mall.business.entity.ScoreGiftRecords;

/**
 * 积分赠送几录
 * @author Administrator
 *
 */
public interface IScoreGiftRecordsDao {
	
	//public Pagination findOrderPagination(String username,String usercard,String orderNumber,String starTime,String endTime,String status, int pageSize, int pageNum);
	
	public ScoreGiftRecords findSGRsById(Long id);      //根据id找到这信息
	
	public void deleteSGRs(ScoreGiftRecords scoreGiftRecords) throws Exception;  //根据对象删除订单
	
	public void updateSGRs(ScoreGiftRecords scoreGiftRecords) throws Exception;          //修改
	
	public ScoreGiftRecords createOrder(ScoreGiftRecords scoreGiftRecords) throws Exception;         //创建 
	
	public List<ScoreGiftRecords> findSGRs(Long fromId) throws Exception;    //根据发起人id（一般为当前登录人）
}
